import request from "../utils/request";




export default {
    // 推荐页接口请求
    getRecommend() {
        return request.get<any, any>('/api/xhr/index.json')
    },
    // 获取某个页面的数据接口
    getSomePege(id: number | undefined) {
        return request.get(`/api/item/list.json?categoryId=${id ? id : 1005000}`)

    }
}